/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import java.util.ArrayList;

/**
 *
 * @author Kristoffer
 */
public class Table {
    private String tablename;
    private int colcount;
    private ArrayList<Column> columns;

    public Table(){
        columns = new ArrayList<Column>();
    }

    public void setColcount(int colcount) {
        this.colcount = colcount;
    }

    public int getColcount() {
        return colcount;
    }

    public void setTablename(String tablename){
        this.tablename = tablename;
    }

    public String getTablename(){
        return tablename;
    }

    public void addColumn(Column column){
        columns.add(column);
    }
}
